package com.naiterui.ehp.bs.doctor.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description app分享医生二维码试图VO(含推广医生和推广患者)

 * @version 2015年11月12日 下午5:31:10 by chenlin
 */
@ApiModel(description = "二维码信息")
public class SpreadAppVo extends SpreadBaseVo {

    private static final long serialVersionUID = -1706117659973818294L;

    /** 医生二维码 */
    @ApiModelProperty(value = "医生二维码")
    private String spreadQrUrl;
    /** 医生二维码类型:1医生推广医生,2医生推广患者 */
    @ApiModelProperty(value = "医生二维码类型:1医生推广医生,2医生推广患者")
    private int spreadType;

    public String getSpreadQrUrl() {
        return spreadQrUrl;
    }

    public void setSpreadQrUrl(String spreadQrUrl) {
        this.spreadQrUrl = spreadQrUrl;
    }

    public int getSpreadType() {
        return spreadType;
    }

    public void setSpreadType(int spreadType) {
        this.spreadType = spreadType;
    }

    /*
     * copy父类属性
     */
    public void copyBasePro(SpreadBaseVo base) {
        this.setName(base.getName());
        this.setHospital(base.getHospital());
        this.setDepartment(base.getDepartment());
        this.setIconUrl(base.getIconUrl());
        this.setTitle(base.getTitle());
        this.setRegistDate(base.getRegistDate());
    }
}